package com.example.fileLock;

public class Test {

	public static void main(String[] args) {
		test();
	}

	public static void test() {
		ThreadWriteFile thf3 = new ThreadWriteFile("G:/test.txt");
		thf3.start();
		ThreadReadFile thf4 = new ThreadReadFile();
		thf4.start();
	}

	public static void longTest() {
		Object o = null;
		Long verifyObjTime = (Long) o;
		long currentTime = System.currentTimeMillis();
		boolean isTimeout = currentTime - verifyObjTime < 300000;
		System.out.println(isTimeout);
	}
}
